/*
examples how to use "dbsql2xml"
these mapping XML files works without modification only on certain configuration of HSQLDB 1.8.0
otherwise You need to modify them
*/
package com.tan.lbs.util;
import java.util.*;
import org.w3c.dom.*;

public class examplesOfUse {

  public static void main(String[] args) {
    Date date;
    Date oldDate;
    try {


      //do export into File
      System.out.println("flat into File: ");
      oldDate = new Date();
      dbsql2xml test02 = new dbsql2xml("123","item","gameFiles/flatXMLMapping.xml", "gameFiles/dbsql2xml.xsd", "", "", "gameFiles/flatXMLOut.xml");
      test02.doExportIntoFile();
      date = new Date();
      System.out.println(date.getTime() - oldDate.getTime());
     

    } catch (Exception e) {
      System.out.println(e.getMessage());
      System.out.println(e.getCause());
    } 
  }
  
}
